Feature: Check complaints by category
  As a user
  I want to see complaints for a particular category
  So that I will know the complaints trend

Scenario: See the same complaint listed on that particular category page
	Given I am on the "Little Sister" page
  And there is a complaint whose title is "Windows Vista Leak Information"
	And the category for that complaint is "Identity theft"
  When I follow "Identity theft"
  Then I should be navigated to "COmplaints: by category" page
	And I should see "Identity theft" at the top
	And I should see "Windows Vista Leak Information" complaint

Scenario: See other complaints listed on the category page	
	Given I am on the "Little Sister" page
  And there is a complaint whose title is "Windows Vista Leak Information"
	And the category for that complaint is "Identity theft"
  When I follow "Identity theft"
  Then I should be navigated to "COmplaints: by category" page
	And I should see other complaint like "Hotmail release information to public" 
	And I should see other complaint like "Internet Explorer Vulnerability is used for ID theft"
	
Scenario: Check complaints from other categories using the drop down
	Given I am on the "Identity theft" page
	And I see a dropdown "-Select a different category-"
	When I click on the dropdown
	And I follow "Surveillance"
	Then I should be navigated to "Surveillance" page
	


	